home *** CD-ROM | disk | FTP | other *** search
- Path: soap.news.pipex.net!pipex!usenet
- From: m.hendry@dial.pipex.com (Mathew Hendry)
- Newsgroups: comp.sys.amiga.datacomm
- Subject: Re: Putmail
- Date: Sat, 30 Mar 96 11:06:04
- Organization: Private node.
- Distribution: world
- Message-ID: <19960330.40D558.9D03@ak085.du.pipex.com>
- References: <1089.5T791T1837@enterprise.net> <4jj0kf$igc@nntp5.u.washington.edu>
- NNTP-Posting-Host: ak085.du.pipex.com
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- David Jarvis (djarvis@u.washington.edu) wrote:
- : In article <1089.5T791T1837@enterprise.net>,
- : Mark Smith <mark.s@enterprise.net> wrote:
- : >Can someone help me with the following.
- : >
- : >I need to set up Putmail, The idea is to use putmail with Aweb.
- : >
- : >The problem is with the environmental variables below.
- : >as i don't know if they are set up with the Interinstall set up of
- : >amitcp.
- : >
- : >what do i do to create them manually ?
- : >
- : >
- : >PutMail uses three environmental variables that all exist in AmiTCP
- : >installations. They are USER (userid), HOME (home drawer) and
- : >HOSTNAME (localhostname.domain). Please note that AmiTCP creates
- :
- : I have a similar question in trying to set these things up, because even
- : though I have AmiTCP running, I can't get Mosaics sendmail to work.
- :
- : In "HOSTNAME", is the "localhost" the machine I log in to, or is it my
- : physical Amiga (ie "MyAmiga.u.washington.edu", for example).
-
- localhost is your physical Amiga. For example, typing "[nc]ftp localhost" will
- log you into your own machine via FTP (though only if you have an ftpd
- installed, of course). localhost is assigned the reserved IP number 127.0.0.1,
- which instructs the local TCP/IP stack to "loop back" on itself and connect to
- the local machine, without attempting to form a route through the default
- gateway machine. Doing so would be wasteful and slow in this case.
-
- The environment variable HOSTNAME contains the full IP address of the local
- machine, including domain. It is set during startnet by the command "SetEnv
- HOSTNAME `hostname`". For example, on my machine currently:
-
- 12.0.Blister:> Echo $HOSTNAME
- am047.du.pipex.com
-
- NODENAME (needed by some applications, but not set by AmiTCP by default)
- contains your machine name (no domain). It may be set during startnet by using
- the command "SetEnv NODENAME `hostname -s`"
-
- 12.0.Blister:> Echo $NODENAME
- am047
-
- Note that NODENAME and HOSTNAME will be different on each connect if your IP
- address is assigned dynamically.
-
- -- Mat.
-